package com.org.utils.conf;

import java.io.IOException;

/**
 * Configure Interface
 * 
 * @author 
 */
public interface Configure {

	/**
	 * 获取属性值
	 * 
	 * @param s
	 * @return
	 * @throws IOException
	 * 
	 */
	public abstract String getProperty(String s) throws IOException;

	/**
	 * 获取子属性名称
	 * 
	 * @param s
	 * @return
	 * @throws IOException
	 * 
	 */
	public abstract String[] getChildrenPropertyNames(String s)
			throws IOException;

	/**
	 * 设置属性值
	 * 
	 * @param s
	 * @param s1
	 * @throws IOException
	 * 
	 */
	public abstract void setProperty(String s, String s1) throws IOException;

	/**
	 * 删除属性
	 * 
	 * @param s
	 * @throws IOException
	 */
	public abstract void deleteProperty(String s) throws IOException;

	/**
	 * 获取子属性对象
	 * 
	 * @param s
	 * @param s1
	 * @return
	 * @throws IOException
	 * 
	 */
	public abstract Object getChildrenObject(String s, String s1)
			throws IOException;

	/**
	 * 获得所有的属性值
	 * 
	 * 
	 */
	public abstract String[] getAllProperty() throws IOException;
}
